﻿<Router AppAssembly="@typeof(Program).Assembly" PreferExactMatches="@true">
    <Found Context="routeData">
         <RouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> @*主框架页中使用默认的布局 *@
    </Found>
    <NotFound>
        <LayoutView Layout="typeof(MainLayout)">
            <p>抱歉, 该地址上无任何内容...</p>
        </LayoutView>
    </NotFound>
</Router>
